package com.industrial.im.mapper;

import com.industrial.im.domain.MessageHistory;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MessageHistoryMapper {


    void messageSync(MessageHistory messageHistory);

    /**
     * @param history
     * @return
     */
    List<MessageHistory> selectSingleChatMessage(@Param("history") MessageHistory history);

    /**
     * 导出群组聊天记录
     *
     * @param history
     * @return
     */
    List<MessageHistory> exportGroupChatMessage(MessageHistory history);

}
